package com.wangY.test.mybatis.dao;

import java.util.List;

import com.wangY.test.mybatis.entity.Article;
import com.wangY.test.mybatis.entity.User;

public interface IUserOperation {
	public User selectUserById(int id);
	
	public List<User> selectUserAll();
	
	public List<User> selectUserByName(String userName);
	
	public void addUser(User user);

	public void updateUser(User user);
	
	public List<Article> selectArticleUser(int id);
}
